package com.fgr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaokai
 * @since 2023-05-09
 */
@TableName("an_donationtype")
public class Donationtype implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 捐助类型表主键
     */
    @TableId(value = "dn_id", type = IdType.AUTO)
    private Long dnId;

    /**
     * 捐助类型
     */
    private String dnType;

    /**
     * 逻辑删除字段
     */
    private Boolean isDel;

    public Long getDnId() {
        return dnId;
    }

    public void setDnId(Long dnId) {
        this.dnId = dnId;
    }

    public String getDnType() {
        return dnType;
    }

    public void setDnType(String dnType) {
        this.dnType = dnType;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "Donationtype{" +
        "dnId = " + dnId +
        ", dnType = " + dnType +
        ", isDel = " + isDel +
        "}";
    }
}
